package com.ehome.poct.terminal.api.fegin;

import com.ehome.poct.terminal.api.constant.ApplicationName;
import com.ehome.poct.terminal.api.dto.TermClinicDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = ApplicationName.POCT_SERVICE_BASE,path = "/term_clinic",contextId = "TermClinicFeginClient")
public interface TermClinicFeginClient {

    @GetMapping("/{id}")
    TermClinicDTO getById(@PathVariable(value = "id") Long id);
}
